package com.eight.cloud.logging.annotations;

import com.eight.cloud.logging.common.EventsEnum;

import java.lang.annotation.*;

/**
 * 操作日志注解
 * @ClassName: OperationLog
 * @Author: TXC
 * @Date: 2025-02-14 10:55
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface OperationLog {
	/**
	 * 操作模块
	 */
	String module() default "";

	/**
	 * 操作事件
	 */
	EventsEnum events() default EventsEnum.OTHER;
}
